package com.ceshiren.aitestmini.util;


import java.util.ArrayList;
import java.util.List;

/**
 *@Author tlibn
 *@Date 2022/2/21 14:57
 **/
public class StrUtil {

    public static String list2IdsStr(List<Integer> caseIdList) {
        return caseIdList.toString().replace("[","").replace("]","");
    }

    public static void main(String[] args) {

        List<Integer> caseIdList = new ArrayList<>();
        caseIdList.add(1);
        caseIdList.add(2);
        caseIdList.add(3);
        System.out.println(caseIdList);
        System.out.println("================");
        System.out.println(list2IdsStr(caseIdList));
    }
}
